package com.wjs.myspring.carolspring;

public class MyTest {
    public static void main(String[] args) {
        MyAnnotationConfigApplicationContext context = new MyAnnotationConfigApplicationContext("com.wjs.myspring");
        Object user = context.getBean("user");
        System.out.println(user);
    }
}
